package com.hotel.project.demo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("hotel_question")
public class HotelQuestionEntity extends BaseHotelEntity{
    @TableField("user_id")
    private Long userId;
    @TableField("user_nickname")
    private String userNickname;
    @TableField("content")
    private String content;
    /**
     * 应展示的问题回答
     */
    @TableField(exist = false)
    private List<HotelAnswerEntity> answerEntityList;
}
